package com.ling.pl.autoproject.definition.application.model;

import com.ling.pl.core.commons.annotation.Dict;
import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

public class ApplicationFore {
    @Column(name = "PROGRAMME_ID", length = 36)
    @ModelProperty(comment = "项目id")
    String projectId;

    @Column(name = "NAME", length = 150)
    @ModelProperty(comment = "应用名称")
    String name;

    @Column(name = "CODE", length = 150)
    @ModelProperty(comment = "开发方案代码")
    String code;

    @Column(name = "APPLICATION_TYPE", length = 150)
    @ModelProperty(comment = "应用类型")
    String applicationType;

    @Column(name = "ARCHITECTURE_FORE_ID", length = 250)
    @ModelProperty(comment = "前端架构方案")
    String architectureForeId;

    @Column(name = "ARCHITECTURE_FORE_EXTEND_ID", length = 36)
    @ModelProperty(comment = "应用样式")
    String architectureForeExtendId;

    @Column(name = "DEFAULT_FOLDER", length = 150)
    @ModelProperty(comment = "应用目录")
    String defaultFolder;

    @Column(name = "IS_DEFAULT")
    @ModelProperty(comment = "默认应用")
    Boolean isDefault;

    @Column(name = "IS_SSO")
    @ModelProperty(comment = "启用统一认证")
    Boolean isSSO;

    @Column(name = "APPLICATION_NO", length = 150)
    @ModelProperty(comment = "应用编号")
    String applicationNo;

    @Column(name = "REMARK", length = 500)
    @ModelProperty(comment = "备注")
    String remark;

    @Column(name = "MENU_DIRECTION", length = 150)
    @ModelProperty(comment = "视图主菜单方向")
    @Dict(code = "builder.application.menuDirection", des = "左,上,不显示")
    String menuDirection;

    @Column(name = "IS_PUBLISH_LINK")
    @ModelProperty(comment = "只发布系统引用视图:")
    Boolean isPublishLink;
}
